<name>Fountain of +5 SP</name>
<profession>The water sparkles</profession>
<dialogue>
  <greeting>
    <reply>
      <text></text>
      <script>
        <sound>well</sound>
      </script>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>Drink from the fountain.</text>
      <npc>
        <reply>
          <if><attribute>max|SP</attribute></if>
          <text>Refreshing!</text>
          <return>main</return> 
        </reply>
        <reply>
          <if><number>!wellofSP_MtPilanteko</number></if>
          <text>You feel replenished!</text>
          <script>
            <attribute>5|SP</attribute>
            <number>31|wellofSP_MtPilanteko</number>
          </script>
          <return>main</return> 
        </reply>
        <reply>
          <if><number>!0|wellofSP_MtPilanteko</number></if>
          <text>You feel replenished!</text>
          <script>
            <attribute>5|SP</attribute>
            <number>=-1|wellofSP_MtPilanteko</number>
          </script>
          <return>main</return> 
        </reply>
        <reply>
          <text>Refreshing!</text>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Turn away.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
</dialogue>